/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.deliveryaddress.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.anny.deliveryaddress.entity.AnnyDeliveryAddress;
import org.apache.ibatis.annotations.Param;

/**
 * 收获地址管理MAPPER接口
 * @author clf
 * @version 2018-10-18
 */
@MyBatisMapper
public interface AnnyDeliveryAddressMapper extends BaseMapper<AnnyDeliveryAddress> {


    /**
     *  根据用户id 收货地址id 修改默认收货地址 defaultFlag 0 不是  1 是
     * @param id 收货地址id
     * @param userid 用户id
     * @return
     */
    int settingTheAddress (@Param("id")String id, @Param("userid")String userid);


}